package com.lekang.service.impl;

import com.lekang.dto.ElderlyRoomInfoDTO;
import com.lekang.mapper.ElderlyRoomMapper;
import com.lekang.service.IElderlyRoomService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

@Service
public class ElderlyRoomServiceImpl implements IElderlyRoomService {

    @Autowired
    private ElderlyRoomMapper elderlyRoomMapper;

    @Override
    public List<ElderlyRoomInfoDTO> getElderlyRoomInfo(Long wxUserId) {
        return elderlyRoomMapper.selectElderlyRoomInfo(wxUserId);
    }
}